<?php


namespace magein\think\migration;

use think\Service;

class MigrationService extends Service
{
    /**
     * 注册服务
     *
     * @return void
     */
    public function register()
    {

    }

    /**
     * 执行服务
     *
     * @return void
     */
    public function boot()
    {
        // 添加命令
        $this->commands(
            [
                'migrate:new' => MigrateCommand::class,
            ]
        );
    }
}